channel_test:channel_test.cpp ../../mqcommon/message.pb.cc ../../mqcommon/protocol.pb.cc
	g++ -o $@ $^ -std=c++17 -lz -lprotobuf -lsqlite3 -lgtest -I../../mqthird/include

.PHONY:clean
clean:
	rm -f channel_test